package com.yyds.blackmagic.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;

/**
 * @ClassName Book
 * @Auther Dell
 * @Date 2021/12/13 16:12
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Book implements Serializable {
    private Integer id;
    private String cover;
    private  String title;
    private  String author;
    private  String date;
    private  String press;
    private  String abs;
    private  Integer cid;

    @Transient
    private Category category;

}
